#include "EntityPlayer.hpp"

EntityPlayer::EntityPlayer()
{

}

EntityPlayer::~EntityPlayer()
{

}

void EntityPlayer::engageFight(EntityPlayer* enemy)
{
    m_enemy = enemy;
}

void EntityPlayer::action(enum Action action)
{
    m_protected =false;
    switch(action)
    {
        case ATTACK:
            attack();
            m_enemy->takeDamage(m_damage);
            break;
        case MAGIC:
            magicAttack();
            m_mana--;
            m_enemy->takeMagicDamage(m_magicDamage);
            break;
        case PROTECT:
            protect();
            m_protected = true;
            break;
        case MANA:
            m_mana++;
            regenMana();
            break;
        case SHARPE:
            sharpe();
            break;
        case SURREND:
            surrend();
            break;
    }
}

void EntityPlayer::takeDamage(int damage)
{

}

void EntityPlayer::takeMagicDamage(int magicDamage)
{

}

void EntityPlayer::attack()
{

}

void EntityPlayer::magicAttack()
{

}

void EntityPlayer::protect()
{

}

void EntityPlayer::sharpe()
{

}

void EntityPlayer::regenMana()
{

}

void EntityPlayer::surrend()
{

}

int EntityPlayer::getDamage()
{

}

int EntityPlayer::getMagicDamage()
{

}

int EntityPlayer::getHealth()
{

}

int EntityPlayer::getMana()
{

}
